package com.office.mapper;

import com.office.bean.Student;
import com.office.bean.StudentInfo;

import java.util.List;
import java.util.Map;

public interface StudentMapper {

    long findTotalCount(Map<String,Object> map);

    List<Student> findStudentsByPage(Map<String,Object> map);

    boolean deleteStudent(int id);

    Student findStudentById(int id);

    int update(Student student);

    List<Student> findExportStudents(Map<String,Object> map);

    int insertBatch(List<Student> students);

    int insertStudent(Student student);

    List<StudentInfo> findStudentInfo();



}
